@import "../../both/mixin";

.course_info_edit_cr.bln{
  padding : 30px 0 100px;
  border-bottom: 1px solid #EDEEF2;

  @include cf(".course_info_header");

  .course_info_header{
    height : 24px;
    line-height: 24px;
    margin-bottom: 15px;
  }

  .course_info_title{
    font-size : 16px;
    font-weight: bold;
    float : left;
    height : 24px;
    line-height : 24px;
  }

  .operate{
    float : left;
    margin-left : #{106 * 3 + 45}px;

    a{
      text-decoration: none;
      font-size : 16px;
      margin-right : 10px;
      color : #2277da;
      display: block;
      padding : 1px;
      height : 24px;
      float : left;
    }

    a:visited{
      color : #2277da;
    }

    a.danger{
      color : #c3325f;
    }
  }

  ul.info_list{
    clear : both;
    display: table;
    padding-left : 20px;
    list-style: none;

    li{
      list-style: none;
      display: table-row;
      font-size : 14px;

      span.label{
        color : #999;
        display: table-cell;
        text-align: left;
        padding-right : 20px;
        padding-bottom: 15px;
      }

      span.content{
        display: table-cell;
        text-align: left;
        color : #454a51;
        padding-bottom: 10px;

        img{
          width:240px;
          height:auto;
          vertical-align:middle;
        }
      }
    }

    li:first-child{
      padding-top : 20px;
    }
  }
}

.modal_course_info_edit{
  padding : 20px 10px;

  ul.modal_lists{
    display: table;

    li{
      display: table-row;

      span{
        display: table-cell;
      }

      span.item_title{
        color : #666;
        padding-right : 40px;
        padding-bottom: 20px;
        font-size : 12px;
        vertical-align: top;
      }

      span.edit_area{
        padding-bottom: 20px;
        vertical-align: top;
      }

      input.input_edit_item[type="text"]{
        color : #404a58;
        border: 1px solid #d1d2d3;
        height : 25px;
        line-height : 25px;
        text-align: left;
        padding-left : 5px;
      }

      input:focus,textarea:focus{
        text-decoration: none;
        outline: none;
      }

      textarea{
        resize : none;
        color : #404a58;
        border: 1px solid #d1d2d3;
        height : 120px;
        width : 300px;
        padding : 5px;
      }
    }
  }

  .ul_filter{
    font-size : 12px;
    display: inline-block;
    vertical-align: middle;

    li{
      display: block;
      float:left;
      width : 60px;
      height : 25px;
      line-height: 25px;
      text-align:center;
      border: .5px solid #D3D3D3;
      border-right : 0;
      cursor: pointer;
    }

    li:hover{
      background-color: #F2F8FF;
      border-color : #A9C7E4;
    }

    li:first-child{
      border-bottom-left-radius: 4px;
      border-top-left-radius: 4px;
    }

    li:last-child{
      border-bottom-right-radius: 4px;
      border-top-right-radius: 4px;
      border-right : .5px solid #D3D3D3;
    }

    li.cur{
      background-color: #DBEBFF;
      border:1px solid #71A9E0;
      color: #71A9E0;
    }
  }
}

.img_op_cr{
  position: relative;
  width : 200px;
  height : auto;
  text-align: center;

  img.img_thumb{
    width : 200px;
    height : auto;
  }

  .img_mask_op{
    display: none;
    position: absolute;
    bottom: 0;
    top : 0;
    width : 200px;
  }

  .img_mask_op:hover{
    display: block;
  }

  img:hover + .img_mask_op{
    display: block;
  }

  .img_op{
    position: absolute;
    z-index : 100002;
    width : 200px;
    height : 34px;
    transform: translate(-100px,-17px);
    top : 50%;
    left : 50%;

    .btn{
      position: relative;
    }
  }

  .img_mask{
    position: absolute;
    top : 0;
    left : 0;
    right : 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.5;
  }
}

.confirm_hint{
  height : 100px;
  text-align: center;
  font-size : 16px;
}